package com.simple.piger.service;


import com.baomidou.mybatisplus.service.IService;
import com.simple.piger.dto.req.InviteCompanyJobReqDto;
import com.simple.piger.dto.resp.company.InviteCompanyJobRespDto;
import com.simple.piger.entity.InviteCompanyJob;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author baolw
 * @since 2020-02-06
 */
public interface InviteCompanyJobService extends IService<InviteCompanyJob> {

    List<InviteCompanyJobRespDto> list(Integer page, Integer limit, String name, String companyId);

    int count(String name, String companyId);

    List<InviteCompanyJobRespDto> homePageList(Integer page, Integer limit, String name);

    int homePageListCount(String name);

    void saveOrUpdate(InviteCompanyJobReqDto reqDto);


}
